/* Fonts */
@import url("https://fonts.googleapis.com/css?family=Open+Sans|Roboto:400,700&display=swap");

/*
=============== 
Global Styles
===============
*/

*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Open Sans", sans-serif;
  background: #ddeefc;
  color: hsl(209, 61%, 16%);
  line-height: 1.5;
  font-size: 0.875rem;
}
h2,h4 {
  letter-spacing: 0.2rem;
  text-transform: capitalize;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  font-family: "Roboto", sans-serif;
}
h2 {
  font-size: 2rem;
}
h4 {
  font-size: 0.875rem;
}
p {
  margin-bottom: 1.25rem;
  color: gray;
}

/*
=============== 
Reviews
===============
*/
main {
  min-height: 90vh;
  display: grid;
  place-items: center;
}
.title {
  text-align: center;
  margin-top: 0.1rem;
  margin-bottom: 2.5rem;
}
.underline {
  height: 0.25rem;
  width: 5rem;
  background: #2364d2;
  margin-left: auto;
  margin-right: auto;
}
.container {
  width: 80vw;
  max-width: 600px;
}
.review {
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  box-shadow:  0 5px 15px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s linear;
  text-align: center;
}
.review:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.img-container {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto;
  margin-bottom: 1.5rem;
}
#person-img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
}
.img-container::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f10e";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translateY(25%);
  background: #2364d2;
  color: white;
}
.img-container::before {
  content: "";
  width: 100%;
  height: 100%;
  background: #2364d2;
  position: absolute;
  top: -0.25rem;
  right: -0.5rem;
  border-radius: 50%;
}
#author {
  margin-bottom: 0.25rem;
}
#job {
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  color: gray;
  font-size: 0.85rem;
}
#info {
  margin-bottom: 0.75rem;
}
.prev-btn,
.next-btn {
  color: #2364d2;
  font-size: 1.25rem;
  background: transparent;
  border-color: transparent;
  margin: 0 0.5rem;
  transition: color 0.3s linear;
  cursor: pointer;
}
.prev-btn:hover,
.next-btn:hover {
  color: black;
}
.random-btn {
  margin-top: 0.5rem;
  background: #2364d2;
  color: white;
  padding: 0.25rem 0.5rem;
  text-transform: capitalize;
  border-radius: 5px;
  transition: background 0.3s linear, color 0.3s linear;
  border: 2px solid black;
  cursor: pointer;
}
.random-btn:hover {
  background: white;
  color: black;
}
